<html>
	<head>
	<meta charset="UTF-8">
	</head>
	
	<body>
		<p id="change">
			点击按钮告诉你
		</p>
		
	<script>
		function myFunction()
			{
				x=document.getElementById("change");
				x.innerHTML="点击后改变内容啦";
			}
	</script>
	
	<button type="button" onclick="myFunction()">please click here</button>
	</body>
</html>